#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "imudevice.h"

#include <QMainWindow>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();


    int initialSerial();

public slots:
    void receiveInfo();
private slots:
    void on_pushButton_clicked();

private:
    Ui::MainWindow *ui;

    ImuDevice* imuDevice;

    QSerialPort *m_serialPort;
};

#endif // MAINWINDOW_H
